package components 
{
	import flash.text.TextFieldAutoSize;
	import mx.controls.CheckBox;
	
	public class MultilineCheckBox extends CheckBox
	{
		public function MultilineCheckBox()
		{
			super();
		}
		
		override protected function createChildren():void
		{
			super.createChildren();
			
			textField.wordWrap = true;
			textField.autoSize = TextFieldAutoSize.LEFT;
		}
	}
}